package com.ruoyi.system.domain.material;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author GE-LV5
 * @create 2023/3/6 10:57
 * 物料类型
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("material_type")
@ApiModel(description = "物料类型表")
public class MaterialType implements Serializable {


    @TableId(value = "id")
    @Excel(name = "序号")
    private Long id;


    @ApiModelProperty(value = "物料类型编码")
    @Excel(name = "物料类型编码")
    private String materialTypeCode;

    @ApiModelProperty(value = "物料类型名称")
    @Excel(name = "物料类型名称")
    private String materialTypeName;


    @ApiModelProperty(value = "物料类型描述")
    @Excel(name = "物料类型描述")
    private String materialTypeDescribe;
}
